import Layout from '../../views/layout/Layout'

export const qzjDataTest ={
  path: '/qzjdataTest',
  name: 'qzjdataTest',
  component: Layout,
  redirect: '/qzjdataTest/index',
  meta: { title: '数据测试 ', icon: 'chart',roles: ['system', 'admin']  },
  equType:'qzj',
  children: [
    {
      path: 'source',
      component: () => import('@/views/platform/data/db-connection'),
      // redirect: '/data/source/db-connection',
      name: 'source',
      children: [
        {
          path: 'db-connection',
          component: () => import('@/views/platform/data/db-connection/index'),
          name: 'DbConnection',
          meta: { title: '数据库连接池',roles: ['system', 'admin'] }
        },
        {
          path: 'fileTransfer',
          component: () => import('@/views/continued/index'),
          name: 'fileTransfer',
          meta: { title: '文件传输代理',roles: ['system', 'admin'] }
        },
        {
          path: 'dataTransfer',
          component: () => import('@/views/continued/index'),
          name: 'dataTransfer',
          meta: { title: '接口数据传输' ,roles: ['system', 'admin']}
        },
        {
          path: 'fileUpload',
          component: () => import('@/views/continued/index'),
          name: 'fileUpload',
          meta: { title: '离线文本上传' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '数据源', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'metadata',
      component: () => import('@/views/platform/metadata'),
      name: 'metadata',
      // redirect: '/data/metadata/hoist',
      children: [
        {
          path: 'hoist',
          component: () => import('@/views/platform/metadata/index'),
          name: 'metadataHoist',
          // redirect: '/data/metadata/hoist/index',
          children: [
            {
              path: 'index',
              component: () => import('@/views/platform/metadata/hoist/module/index'),
              name: 'Hoist',
              meta: { title: '定检数据',roles: ['system', 'admin'] }
            },
            {
              path: 'test',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataTest',
              meta: { title: '检测数据',roles: ['system', 'admin'] }
            },
            {
              path: 'point',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataPoint',
              meta: { title: '点检数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'repair',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataRepair',
              meta: { title: '维修数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'monitor',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataMonitor',
              meta: {
                title: '监控数据',roles: ['system', 'admin']
              }
            },
            {
              path: 'survey',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataSurvey',
              meta: { title: '监测数据' ,roles: ['system', 'admin']}
            }
          ],
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'metadataBottle',
          meta: { title: '> 气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'metadataBoiler',
          meta: { title: '> 锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'metadataTank',
          meta: { title: '> 储罐' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '元数据池', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'manage',
      component: () => import('@/views/platform/manage'),
      name: 'manage',
      noComponent: true,
      redirect: '/manage/crab',
      meta: { title: '标准治理', icon: 'icon' ,roles: ['system', 'admin']},
      children: [
        {
          path: 'general',
          component: () => import('@/views/platform/manage/general/index'),
          name: 'manageGeneral',
          meta: { title: '一般通用',roles: ['system', 'admin'] }
        },
        {
          path: 'crab',
          component: () => import('@/views/platform/manage/hoist/index'),
          name: 'manageCrab',
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'manageDataTransfer',
          meta: { title: '气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadGL',
          meta: { title: '锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadCG',
          meta: { title: '储罐',roles: ['system', 'admin'] }
        }
      ]
    },
    {
      path: 'quality',
      component: () => import('@/views/platform/quality'),
      name: 'quality',
      noComponent: true,
      redirect: '/quality/config',
      meta: { title: '质量测试', icon: 'international',roles: ['system', 'admin'] },
      children: [
        {
          path: 'config',
          component: () => import('@/views/platform/quality/config/index'),
          name: 'qualityConfig',
          meta: { title: '规则配置',roles: ['system', 'admin'] }
        },
        {
          path: 'solution',
          component: () => import('@/views/platform/quality/solution/index'),
          name: 'qualitySolution',
          meta: { title: '方案制定',roles: ['system', 'admin'] }
        },
        {
          path: 'solution/:id(\\d+)',
          component: () => import('@/views/platform/quality/solution/edit'),
          name: 'qualitySolution',
          hidden: true,
          meta: { title: '方案详情',roles: ['system', 'admin'] }
        },
        {
          path: 'report/:id(\\d+)',
          component: () => import('@/views/platform/quality/report/index'),
          name: 'qualityReport',
          hidden: true,
          meta: { title: '综合报告' ,roles: ['system', 'admin']}
        }
      ]
    },
    {
      path: 'integrate',
      component: () => import('@/views/integrate'),
      // redirect: '/integrate/list',
      noComponent: true,
      children: [
        {
          path: 'list',
          component: () => import('@/views/integrate/list'),
          name: 'integrateList',
          meta: { title: '测试列表' ,roles: ['system', 'admin']}
        },
        {
          path: 'result',
          component: () => import('@/views/integrate/result'),
          name: 'integrateResult',
          meta: { title: '测试结果' ,roles: ['system', 'admin']}
        },
        {
          path: 'detail/:id(\\d+)',
          component: () => import('@/views/integrate/detail/index'),
          name: 'IntegratedDetail',
          hidden: true,
          meta: { title: '集成详情' }
        }
      ],
      meta: { title: '集成测试 ', icon: 'international' }
    }
  ],
}
export const ydqpDataTest ={
  path: '/ydqpdataTest',
  name: 'ydqpdataTest',
  component: Layout,
  redirect: '/ydqpdataTest/index',
  meta: { title: '数据测试 ', icon: 'chart',roles: ['system', 'admin']  },
  equType:'ydqp',
  children: [
    {
      path: 'source',
      component: () => import('@/views/platform/data/db-connection'),
      // redirect: '/data/source/db-connection',
      name: 'source',
      children: [
        {
          path: 'db-connection',
          component: () => import('@/views/platform/data/db-connection/index'),
          name: 'DbConnection',
          meta: { title: '数据库连接池',roles: ['system', 'admin'] }
        },
        {
          path: 'fileTransfer',
          component: () => import('@/views/continued/index'),
          name: 'fileTransfer',
          meta: { title: '文件传输代理',roles: ['system', 'admin'] }
        },
        {
          path: 'dataTransfer',
          component: () => import('@/views/continued/index'),
          name: 'dataTransfer',
          meta: { title: '接口数据传输' ,roles: ['system', 'admin']}
        },
        {
          path: 'fileUpload',
          component: () => import('@/views/continued/index'),
          name: 'fileUpload',
          meta: { title: '离线文本上传' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '数据源', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'metadata',
      component: () => import('@/views/platform/metadata'),
      name: 'metadata',
      // redirect: '/data/metadata/hoist',
      children: [
        {
          path: 'hoist',
          component: () => import('@/views/platform/metadata/index'),
          name: 'metadataHoist',
          // redirect: '/data/metadata/hoist/index',
          children: [
            {
              path: 'index',
              component: () => import('@/views/platform/metadata/hoist/module/index'),
              name: 'Hoist',
              meta: { title: '定检数据',roles: ['system', 'admin'] }
            },
            {
              path: 'test',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataTest',
              meta: { title: '检测数据',roles: ['system', 'admin'] }
            },
            {
              path: 'point',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataPoint',
              meta: { title: '点检数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'repair',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataRepair',
              meta: { title: '维修数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'monitor',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataMonitor',
              meta: {
                title: '监控数据',roles: ['system', 'admin']
              }
            },
            {
              path: 'survey',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataSurvey',
              meta: { title: '监测数据' ,roles: ['system', 'admin']}
            }
          ],
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'metadataBottle',
          meta: { title: '> 气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'metadataBoiler',
          meta: { title: '> 锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'metadataTank',
          meta: { title: '> 储罐' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '元数据池', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'manage',
      component: () => import('@/views/platform/manage'),
      name: 'manage',
      noComponent: true,
      redirect: '/manage/crab',
      meta: { title: '标准治理', icon: 'icon' ,roles: ['system', 'admin']},
      children: [
        {
          path: 'general',
          component: () => import('@/views/platform/manage/general/index'),
          name: 'manageGeneral',
          meta: { title: '一般通用',roles: ['system', 'admin'] }
        },
        {
          path: 'crab',
          component: () => import('@/views/platform/manage/hoist/index'),
          name: 'manageCrab',
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'manageDataTransfer',
          meta: { title: '气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadGL',
          meta: { title: '锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadCG',
          meta: { title: '储罐',roles: ['system', 'admin'] }
        }
      ]
    },
    {
      path: 'quality',
      component: () => import('@/views/platform/quality'),
      name: 'quality',
      noComponent: true,
      redirect: '/quality/config',
      meta: { title: '质量测试', icon: 'international',roles: ['system', 'admin'] },
      children: [
        {
          path: 'config',
          component: () => import('@/views/platform/quality/config/index'),
          name: 'qualityConfig',
          meta: { title: '规则配置',roles: ['system', 'admin'] }
        },
        {
          path: 'solution',
          component: () => import('@/views/platform/quality/solution/index'),
          name: 'qualitySolution',
          meta: { title: '方案制定',roles: ['system', 'admin'] }
        },
        {
          path: 'solution/:id(\\d+)',
          component: () => import('@/views/platform/quality/solution/edit'),
          name: 'qualitySolution',
          hidden: true,
          meta: { title: '方案详情',roles: ['system', 'admin'] }
        },
        {
          path: 'report/:id(\\d+)',
          component: () => import('@/views/platform/quality/report/index'),
          name: 'qualityReport',
          hidden: true,
          meta: { title: '综合报告' ,roles: ['system', 'admin']}
        }
      ]
    },
    {
      path: 'integrate',
      component: () => import('@/views/integrate'),
      // redirect: '/integrate/list',
      noComponent: true,
      children: [
        {
          path: 'list',
          component: () => import('@/views/integrate/list'),
          name: 'integrateList',
          meta: { title: '测试列表' ,roles: ['system', 'admin']}
        },
        {
          path: 'result',
          component: () => import('@/views/integrate/result'),
          name: 'integrateResult',
          meta: { title: '测试结果' ,roles: ['system', 'admin']}
        },
        {
          path: 'detail',
          component: () => import('@/views/integrate/detail/index'),
          name: 'integrateDetail',
          hidden: true,
          meta: { title: '集成详情',roles: ['system', 'admin']}
        }
      ],
      meta: { title: '集成测试 ', icon: 'international',roles: ['system', 'admin'] }
    }
  ],
}
export const dqkgDataTest ={
  path: '/dqkgdataTest',
  name: 'dqkgdataTest',
  component: Layout,
  redirect: '/dqkgdataTest/index',
  meta: { title: '数据测试 ', icon: 'chart',roles: ['system', 'admin']  },
  equType:'dqkg',
  children: [
    {
      path: 'source',
      component: () => import('@/views/platform/data/db-connection'),
      // redirect: '/data/source/db-connection',
      name: 'source',
      children: [
        {
          path: 'db-connection',
          component: () => import('@/views/platform/data/db-connection/index'),
          name: 'DbConnection',
          meta: { title: '数据库连接池',roles: ['system', 'admin'] }
        },
        {
          path: 'fileTransfer',
          component: () => import('@/views/continued/index'),
          name: 'fileTransfer',
          meta: { title: '文件传输代理',roles: ['system', 'admin'] }
        },
        {
          path: 'dataTransfer',
          component: () => import('@/views/continued/index'),
          name: 'dataTransfer',
          meta: { title: '接口数据传输' ,roles: ['system', 'admin']}
        },
        {
          path: 'fileUpload',
          component: () => import('@/views/continued/index'),
          name: 'fileUpload',
          meta: { title: '离线文本上传' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '数据源', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'metadata',
      component: () => import('@/views/platform/metadata'),
      name: 'metadata',
      // redirect: '/data/metadata/hoist',
      children: [
        {
          path: 'hoist',
          component: () => import('@/views/platform/metadata/index'),
          name: 'metadataHoist',
          // redirect: '/data/metadata/hoist/index',
          children: [
            {
              path: 'index',
              component: () => import('@/views/platform/metadata/hoist/module/index'),
              name: 'Hoist',
              meta: { title: '定检数据',roles: ['system', 'admin'] }
            },
            {
              path: 'test',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataTest',
              meta: { title: '检测数据',roles: ['system', 'admin'] }
            },
            {
              path: 'point',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataPoint',
              meta: { title: '点检数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'repair',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataRepair',
              meta: { title: '维修数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'monitor',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataMonitor',
              meta: {
                title: '监控数据',roles: ['system', 'admin']
              }
            },
            {
              path: 'survey',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataSurvey',
              meta: { title: '监测数据' ,roles: ['system', 'admin']}
            }
          ],
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'metadataBottle',
          meta: { title: '> 气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'metadataBoiler',
          meta: { title: '> 锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'metadataTank',
          meta: { title: '> 储罐' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '元数据池', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'manage',
      component: () => import('@/views/platform/manage'),
      name: 'manage',
      noComponent: true,
      redirect: '/manage/crab',
      meta: { title: '标准治理', icon: 'icon' ,roles: ['system', 'admin']},
      children: [
        {
          path: 'general',
          component: () => import('@/views/platform/manage/general/index'),
          name: 'manageGeneral',
          meta: { title: '一般通用',roles: ['system', 'admin'] }
        },
        {
          path: 'crab',
          component: () => import('@/views/platform/manage/hoist/index'),
          name: 'manageCrab',
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'manageDataTransfer',
          meta: { title: '气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadGL',
          meta: { title: '锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadCG',
          meta: { title: '储罐',roles: ['system', 'admin'] }
        }
      ]
    },
    {
      path: 'quality',
      component: () => import('@/views/platform/quality'),
      name: 'quality',
      noComponent: true,
      redirect: '/quality/config',
      meta: { title: '质量测试', icon: 'international',roles: ['system', 'admin'] },
      children: [
        {
          path: 'config',
          component: () => import('@/views/platform/quality/config/index'),
          name: 'qualityConfig',
          meta: { title: '规则配置',roles: ['system', 'admin'] }
        },
        {
          path: 'solution',
          component: () => import('@/views/platform/quality/solution/index'),
          name: 'qualitySolution',
          meta: { title: '方案制定',roles: ['system', 'admin'] }
        },
        {
          path: 'solution/:id(\\d+)',
          component: () => import('@/views/platform/quality/solution/edit'),
          name: 'qualitySolution',
          hidden: true,
          meta: { title: '方案详情',roles: ['system', 'admin'] }
        },
        {
          path: 'report/:id(\\d+)',
          component: () => import('@/views/platform/quality/report/index'),
          name: 'qualityReport',
          hidden: true,
          meta: { title: '综合报告' ,roles: ['system', 'admin']}
        }
      ]
    },
    {
      path: 'integrate',
      component: () => import('@/views/integrate'),
      // redirect: '/integrate/list',
      noComponent: true,
      children: [
        {
          path: 'list',
          component: () => import('@/views/integrate/list'),
          name: 'integrateList',
          meta: { title: '测试列表' ,roles: ['system', 'admin']}
        },
        {
          path: 'result',
          component: () => import('@/views/integrate/result'),
          name: 'integrateResult',
          meta: { title: '测试结果' ,roles: ['system', 'admin']}
        },
        {
          path: 'detail/:id(\\d+)',
          component: () => import('@/views/integrate/detail/index'),
          name: 'IntegratedDetail',
          hidden: true,
          meta: { title: '集成详情' }
        }
      ],
      meta: { title: '集成测试 ', icon: 'international' }
    }
  ],
}
export const yycgDataTest ={
  path: '/yycgdataTest',
  name: 'yycgdataTest',
  component: Layout,
  redirect: '/yycgdataTest/index',
  meta: { title: '数据测试 ', icon: 'chart',roles: ['system', 'admin']  },
  equType:'yycg',
  children: [
    {
      path: 'source',
      component: () => import('@/views/platform/data/db-connection'),
      // redirect: '/data/source/db-connection',
      name: 'source',
      children: [
        {
          path: 'db-connection',
          component: () => import('@/views/platform/data/db-connection/index'),
          name: 'DbConnection',
          meta: { title: '数据库连接池',roles: ['system', 'admin'] }
        },
        {
          path: 'fileTransfer',
          component: () => import('@/views/continued/index'),
          name: 'fileTransfer',
          meta: { title: '文件传输代理',roles: ['system', 'admin'] }
        },
        {
          path: 'dataTransfer',
          component: () => import('@/views/continued/index'),
          name: 'dataTransfer',
          meta: { title: '接口数据传输' ,roles: ['system', 'admin']}
        },
        {
          path: 'fileUpload',
          component: () => import('@/views/continued/index'),
          name: 'fileUpload',
          meta: { title: '离线文本上传' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '数据源', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'metadata',
      component: () => import('@/views/platform/metadata'),
      name: 'metadata',
      // redirect: '/data/metadata/hoist',
      children: [
        {
          path: 'hoist',
          component: () => import('@/views/platform/metadata/index'),
          name: 'metadataHoist',
          // redirect: '/data/metadata/hoist/index',
          children: [
            {
              path: 'index',
              component: () => import('@/views/platform/metadata/hoist/module/index'),
              name: 'Hoist',
              meta: { title: '定检数据',roles: ['system', 'admin'] }
            },
            {
              path: 'test',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataTest',
              meta: { title: '检测数据',roles: ['system', 'admin'] }
            },
            {
              path: 'point',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataPoint',
              meta: { title: '点检数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'repair',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataRepair',
              meta: { title: '维修数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'monitor',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataMonitor',
              meta: {
                title: '监控数据',roles: ['system', 'admin']
              }
            },
            {
              path: 'survey',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataSurvey',
              meta: { title: '监测数据' ,roles: ['system', 'admin']}
            }
          ],
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'metadataBottle',
          meta: { title: '> 气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'metadataBoiler',
          meta: { title: '> 锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'metadataTank',
          meta: { title: '> 储罐' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '元数据池', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'manage',
      component: () => import('@/views/platform/manage'),
      name: 'manage',
      noComponent: true,
      redirect: '/manage/crab',
      meta: { title: '标准治理', icon: 'icon' ,roles: ['system', 'admin']},
      children: [
        {
          path: 'general',
          component: () => import('@/views/platform/manage/general/index'),
          name: 'manageGeneral',
          meta: { title: '一般通用',roles: ['system', 'admin'] }
        },
        {
          path: 'crab',
          component: () => import('@/views/platform/manage/hoist/index'),
          name: 'manageCrab',
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'manageDataTransfer',
          meta: { title: '气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadGL',
          meta: { title: '锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadCG',
          meta: { title: '储罐',roles: ['system', 'admin'] }
        }
      ]
    },
    {
      path: 'quality',
      component: () => import('@/views/platform/quality'),
      name: 'quality',
      noComponent: true,
      redirect: '/quality/config',
      meta: { title: '质量测试', icon: 'international',roles: ['system', 'admin'] },
      children: [
        {
          path: 'config',
          component: () => import('@/views/platform/quality/config/index'),
          name: 'qualityConfig',
          meta: { title: '规则配置',roles: ['system', 'admin'] }
        },
        {
          path: 'solution',
          component: () => import('@/views/platform/quality/solution/index'),
          name: 'qualitySolution',
          meta: { title: '方案制定',roles: ['system', 'admin'] }
        },
        {
          path: 'solution/:id(\\d+)',
          component: () => import('@/views/platform/quality/solution/edit'),
          name: 'qualitySolution',
          hidden: true,
          meta: { title: '方案详情',roles: ['system', 'admin'] }
        },
        {
          path: 'report/:id(\\d+)',
          component: () => import('@/views/platform/quality/report/index'),
          name: 'qualityReport',
          hidden: true,
          meta: { title: '综合报告' ,roles: ['system', 'admin']}
        }
      ]
    },
    {
      path: 'integrate',
      component: () => import('@/views/integrate'),
      // redirect: '/integrate/list',
      noComponent: true,
      children: [
        {
          path: 'list',
          component: () => import('@/views/integrate/list'),
          name: 'integrateList',
          meta: { title: '测试列表' ,roles: ['system', 'admin']}
        },
        {
          path: 'result',
          component: () => import('@/views/integrate/result'),
          name: 'integrateResult',
          meta: { title: '测试结果' ,roles: ['system', 'admin']}
        },
        {
          path: 'detail/:id(\\d+)',
          component: () => import('@/views/integrate/detail/index'),
          name: 'IntegratedDetail',
          hidden: true,
          meta: { title: '集成详情' }
        }
      ],
      meta: { title: '集成测试 ', icon: 'international' }
    }
  ],
}
export const dzglDataTest ={
  path: '/dzgldataTest',
  name: 'dzgldataTest',
  component: Layout,
  redirect: '/dzgldataTest/index',
  meta: { title: '数据测试 ', icon: 'chart',roles: ['system', 'admin']  },
  equType:'dzgl',
  children: [
    {
      path: 'source',
      component: () => import('@/views/platform/data/db-connection'),
      // redirect: '/data/source/db-connection',
      name: 'source',
      children: [
        {
          path: 'db-connection',
          component: () => import('@/views/platform/data/db-connection/index'),
          name: 'DbConnection',
          meta: { title: '数据库连接池',roles: ['system', 'admin'] }
        },
        {
          path: 'fileTransfer',
          component: () => import('@/views/continued/index'),
          name: 'fileTransfer',
          meta: { title: '文件传输代理',roles: ['system', 'admin'] }
        },
        {
          path: 'dataTransfer',
          component: () => import('@/views/continued/index'),
          name: 'dataTransfer',
          meta: { title: '接口数据传输' ,roles: ['system', 'admin']}
        },
        {
          path: 'fileUpload',
          component: () => import('@/views/continued/index'),
          name: 'fileUpload',
          meta: { title: '离线文本上传' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '数据源', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'metadata',
      component: () => import('@/views/platform/metadata'),
      name: 'metadata',
      // redirect: '/data/metadata/hoist',
      children: [
        {
          path: 'hoist',
          component: () => import('@/views/platform/metadata/index'),
          name: 'metadataHoist',
          // redirect: '/data/metadata/hoist/index',
          children: [
            {
              path: 'index',
              component: () => import('@/views/platform/metadata/hoist/module/index'),
              name: 'Hoist',
              meta: { title: '定检数据',roles: ['system', 'admin'] }
            },
            {
              path: 'test',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataTest',
              meta: { title: '检测数据',roles: ['system', 'admin'] }
            },
            {
              path: 'point',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataPoint',
              meta: { title: '点检数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'repair',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataRepair',
              meta: { title: '维修数据' ,roles: ['system', 'admin']}
            },
            {
              path: 'monitor',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataMonitor',
              meta: {
                title: '监控数据',roles: ['system', 'admin']
              }
            },
            {
              path: 'survey',
              component: () =>
                import('@/views/continued/index'),
              name: 'metadataSurvey',
              meta: { title: '监测数据' ,roles: ['system', 'admin']}
            }
          ],
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'metadataBottle',
          meta: { title: '> 气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'metadataBoiler',
          meta: { title: '> 锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'metadataTank',
          meta: { title: '> 储罐' ,roles: ['system', 'admin']}
        }
      ],
      meta: { title: '元数据池', icon: 'nested' ,roles: ['system', 'admin']}
    },
    {
      path: 'manage',
      component: () => import('@/views/platform/manage'),
      name: 'manage',
      noComponent: true,
      redirect: '/manage/crab',
      meta: { title: '标准治理', icon: 'icon' ,roles: ['system', 'admin']},
      children: [
        {
          path: 'general',
          component: () => import('@/views/platform/manage/general/index'),
          name: 'manageGeneral',
          meta: { title: '一般通用',roles: ['system', 'admin'] }
        },
        {
          path: 'crab',
          component: () => import('@/views/platform/manage/hoist/index'),
          name: 'manageCrab',
          meta: { title: '起重机械' ,roles: ['system', 'admin']}
        },
        {
          path: 'bottle',
          component: () => import('@/views/continued/index'),
          name: 'manageDataTransfer',
          meta: { title: '气瓶' ,roles: ['system', 'admin']}
        },
        {
          path: 'boiler',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadGL',
          meta: { title: '锅炉' ,roles: ['system', 'admin']}
        },
        {
          path: 'tank',
          component: () => import('@/views/continued/index'),
          name: 'manageFileUploadCG',
          meta: { title: '储罐',roles: ['system', 'admin'] }
        }
      ]
    },
    {
      path: 'quality',
      component: () => import('@/views/platform/quality'),
      name: 'quality',
      noComponent: true,
      redirect: '/quality/config',
      meta: { title: '质量测试', icon: 'international',roles: ['system', 'admin'] },
      children: [
        {
          path: 'config',
          component: () => import('@/views/platform/quality/config/index'),
          name: 'qualityConfig',
          meta: { title: '规则配置',roles: ['system', 'admin'] }
        },
        {
          path: 'solution',
          component: () => import('@/views/platform/quality/solution/index'),
          name: 'qualitySolution',
          meta: { title: '方案制定',roles: ['system', 'admin'] }
        },
        {
          path: 'solution/:id(\\d+)',
          component: () => import('@/views/platform/quality/solution/edit'),
          name: 'qualitySolution',
          hidden: true,
          meta: { title: '方案详情',roles: ['system', 'admin'] }
        },
        {
          path: 'report/:id(\\d+)',
          component: () => import('@/views/platform/quality/report/index'),
          name: 'qualityReport',
          hidden: true,
          meta: { title: '综合报告' ,roles: ['system', 'admin']}
        }
      ]
    },
    {
      path: 'integrate',
      component: () => import('@/views/integrate'),
      // redirect: '/integrate/list',
      noComponent: true,
      children: [
        {
          path: 'list',
          component: () => import('@/views/integrate/list'),
          name: 'integrateList',
          meta: { title: '测试列表' ,roles: ['system', 'admin']}
        },
        {
          path: 'result',
          component: () => import('@/views/integrate/result'),
          name: 'integrateResult',
          meta: { title: '测试结果' ,roles: ['system', 'admin']}
        },
        {
          path: 'detail/:id(\\d+)',
          component: () => import('@/views/integrate/detail/index'),
          name: 'IntegratedDetail',
          hidden: true,
          meta: { title: '集成详情' }
        }
      ],
      meta: { title: '集成测试 ', icon: 'international' }
    }
  ],
}